package wafteam.database;

public class Chap {
	//private variables
    int _chapId;
    String _chap_name;
    int _number_image;
    int _isReaded;
    int _isDownload;
    int _size;
    //int _isReading;
    
     
    // Empty constructor
    public Chap(){
         
    }
    // constructor
    public Chap(int chapId, int number_image, int isReaded){
        this._chapId = chapId;
        this._number_image = number_image;
        this._isReaded = isReaded;
    }
    
 // constructor
    public Chap(String name, int number_image, int isReaded, int isDownload, int size){
        this._chap_name = name;
        this._number_image = number_image;
        this._isReaded = isReaded;
        this._isDownload = isDownload;
        this._size = size;
    }
     
    // constructor
    public Chap(int number_image, int isReaded){
        this._number_image = number_image;
        this._isReaded = isReaded;
    }
    // getting ID
    public int getChapId(){
        return this._chapId;
    }
     
    // setting id
    public void setChapId(int id){
        this._chapId = id;
    }
    
    // getting name
    public String getChapName(){
        return this._chap_name;
    }
     
    // setting name
    public void setChapName(String name){
        this._chap_name = name;
    }
    // getting name
    public int getNumberImage(){
        return this._number_image;
    }
     
    // setting name
    public void setNumberImage(int i){
        this._number_image = i;
    }
     
    public int getIsReaded(){
        return this._isReaded;
    }
     
    public void setIsReaded(int is){
        this._isReaded = is;
    }
    
    public int getIsDownload(){
        return this._isDownload;
    }
     
    public void setIsDownload(int is){
        this._isDownload = is;
    }
    
    public int getSize(){
        return this._size;
    }
     
    public void setSize(int is){
        this._size = is;
    }
}
